const actions = {
  // 存入cookie
  saveCookie({ commit }, payload) {
    commit('saveCookie', payload)
  },
  // 保存用户信息
  saveProfile({ commit }, payload) {
    commit('saveProfile', payload)
  },
  // 保存歌单信息
  saveSongList({ commit }, payload) {
    commit('saveSongList', payload)
  },
  // 保存歌曲信息
  saveSong({ commit }, payload) {
    commit('saveSong', payload)
  },
  // 当前播放的歌曲以及歌曲信息
  saveNowSong({ commit }, payload) {
    commit('saveNowSong', payload)
  },
  // 上一首歌
  savePreSong({ commit }, payload) {
    commit('savePreSong', payload)
  },
  // 点击播放按钮
  clickPlay({ commit }, payload) {
    commit('clickPlay', payload)
  },
  // 每日推荐歌单
  saveDailyRec({ commit }, payload) {
    commit('saveDailyRec', payload)
  },
  // 当前歌单的id
  saveNowId({ commit }, payload) {
    commit('saveNowId', payload)
  },
  // 用户当前选择的歌曲的汇总
  saveNowSongCount({ commit }, payload) {
    commit('saveNowSongCount', payload)
  },
  // 专辑明细
  saveAlbumData({ commit }, payload) {
    commit('saveAlbumData', payload)
  },
  // 保存搜索出来的明细
  saveSeachSongItem({ commit }, payload) {
    commit('saveSeachSongItem', payload)
  },
  // 选择了歌手页面中类似歌手后的处理
  saveResArtists({ commit }, payload) {
    commit('saveResArtists', payload)
  },
  // 存入搜索到的歌曲
  saveSeachSong({ commit }, payload) {
    commit('saveSeachSong', payload)
  },
  // 存入歌曲详情
  saveArtistsItem({ commit }, payload) {
    commit('saveArtistsItem', payload)
  },
  // MV播放地址
  saveMVurl({ commit }, payload) {
    commit('saveMVurl', payload)
  },
  // 相似MV
  saveResMv({ commit }, payload) {
    commit('saveResMv', payload)
  },
  // 存入MV基础信息
  saveMvBes({ commit }, payload) {
    commit('saveMvBes', payload)
  },
  // 视频播放地址
  saveVurl({ commit }, payload) {
    commit('saveVurl', payload)
  },
  // 相似视频
  saveResv({ commit }, payload) {
    commit('saveResv', payload)
  },
  // 视频基础信息
  saveVbes({ commit }, payload) {
    commit('saveVbes', payload)
  },
  // 音乐是否暂停
  ifPause({ commit }, payload) {
    commit('ifPause', payload)
  },
  // 当前播放时间
  savePlayTime({ commit }, payload) {
    commit('savePlayTime', payload)
  },
  // 是否打开歌曲播放页面
  saveOpenItem({ commit }, payload) {
    commit('saveOpenItem', payload)
  },
  // 存入用户歌单
  saveUserList({ commit }, payload) {
    commit('saveUserList', payload)
  },
  // 当前选中行
  saveNowRow({ commit }, payload) {
    commit('saveNowRow', payload)
  },
  // 喜欢的歌曲
  savelikeData({ commit }, payload) {
    commit('savelikeData', payload)
  },
  // 收藏的歌单
  saveSubList({ commit }, payload) {
    commit('saveSubList', payload)
  },
  // 用户信息发生改变
  saveChange({ commit }, payload) {
    commit('saveChange', payload)
  },
  async removeHttpRequestList(ctx) {
    ctx.commit('addHttpRequestList', 0);
  },
  // 用户id（为了看个人中心,非私人）
  saveUserId({ commit }, payload) {
    commit('saveUserId', payload)
  },
}
export default actions
